<?php /* Smarty version 2.6.19, created on 2008-06-23 11:14:31
         compiled from ../templates/media-frontend/song/top_ten.tpl */ ?>
<div class="top10">
    <div class="box-title">
        TOP 10
    </div>
    <div class="top10_menu">
    <div id="searchmusic">
            <ul>
                <li  class="searchbar_active" id="songtoptab">
                    <a href="javascript:void(0)">Nghe nhìều</a></li>
                <li  class="searchbar">
                    <a href="javascript:void(0)">Tải nhiều</a></li>
                <li  class="searchbar">
                    <a href="javascript:void(0)">Nghệ sỹ</a></li>
                 <li  class="searchbar">
                    <a href="javascript:void(0)">Playlist</a></li>
            </ul>
        </div>
    </div>
    <div id="top10_inner">
       <?php $_from = $this->_tpl_vars['songs_top10']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['sidx'] => $this->_tpl_vars['songItem']):
?>
            <ul class="top10row">
                <li class="top10order">
                    <span><?php echo $this->_tpl_vars['sidx']+1; ?>
</span>
                </li>
                  <li class="top10image">
                    <a href="?module=singer&act=detail&id=<?php echo $this->_tpl_vars['songItem']['singerid']; ?>
" rev="singerDetail" rel="content">
                        <img class="imgsmall"  src="data/avatar/singer/<?php echo $this->_tpl_vars['songItem']['avatar']; ?>
"/>
                    </a>
                </li>
                <li class="top10text">
                    <a class="title" href="?module=song&act=detail&id=<?php echo $this->_tpl_vars['songItem']['id']; ?>
" rev="songdetail" rel="content"><?php echo $this->_tpl_vars['songItem']['title']; ?>
</a>
                    <br/>
                    <a class="singer" href="?module=singer&act=detail&id=<?php echo $this->_tpl_vars['songItem']['singerid']; ?>
" rev="singerdetail" rel="content"><?php echo $this->_tpl_vars['songItem']['name']; ?>
</a>
                </li>
                <li class="top10_act">
                   
                     <a class="addlist" href="?module=playlist&act=addList&id=<?php echo $this->_tpl_vars['songItem']['id']; ?>
" rev="add_song" rel="playlist-inner" onclick="addSong(<?php echo $this->_tpl_vars['songItem']['id']; ?>
,'data/music/song/<?php echo $this->_tpl_vars['songItem']['filename']; ?>
','data/avatar/singer/<?php echo $this->_tpl_vars['songItem']['avatar']; ?>
','<?php echo $this->_tpl_vars['songItem']['title']; ?>
')"  style="margin-left:2px;" title="Thêm bài hát này vào playlist">
                        <img src="static-html/images/media-frontend/ico_addPlaylist.png" border="0"/>
                    </a>
                     <a class="playsong" href="?module=playlist&act=playItem&id=<?php echo $this->_tpl_vars['songItem']['id']; ?>
" rev="play_song" rel="playlist-inner" onclick="playSong('<?php echo $this->_tpl_vars['songItem']['id']; ?>
','data/music/song/<?php echo $this->_tpl_vars['songItem']['filename']; ?>
','data/avatar/singer/<?php echo $this->_tpl_vars['songItem']['avatar']; ?>
','<?php echo $this->_tpl_vars['songItem']['title']; ?>
')"  style="margin-left:4px;" title="Click để nghe bài hát này">
                        <img src="static-html/images/media-frontend/ico_play_01.gif" border="0"/>
                    </a>
                </li>
            </ul>
       <?php endforeach; endif; unset($_from); ?>
    </div>
</div>